package router

import(
	"github.com/gofiber/fiber/v2"
    "shoollove/handler"
)

// hello 路由，记得把 hello(app) 添加把 router.go 中
func Hello(app *fiber.App) {

	helloRouter := app.Group("/hello")
	{
		helloRouter.Post("/add", handler.HelloAdd)
		helloRouter.Post("/edit", handler.HelloEdit)
		helloRouter.Post("/delete", handler.HelloDelete)
		helloRouter.Get("/get", handler.HelloGet)
		helloRouter.Get("/form", handler.HelloForm)
	}
}
